package com.quan.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

	/**
	 * JwtToken秘钥
	 */
	private String secret ;
	
	/**
	 * JwtToken过去时间（秒）
	 */
	private String timeout ;

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getTimeout() {
		return timeout;
	}

	public void setTimeout(String timeout) {
		this.timeout = timeout;
	}

	@Override
	public String toString() {
		return "JwtProperties [secret=" + secret + ", timeout=" + timeout + "]";
	}
}
